﻿using System;
using System.Collections.Generic;
using System.Text;

namespace TaskManager
{
    public interface IJob
    {
        void Do();
    }

    public class FuncJob : IJob
    {
        public Action JobFunc { get; set; }

        public void Do()
        {
            JobFunc?.Invoke();
        }
    }
}
